home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Object Oriented Applicat…isualAge for C++ for OS/2
/
Object-Oriented Application Development with VisualAGE for C++ for OS2.iso
/
read.me
< prev
next >
Wrap
Text File
|
1996-03-07
|
10KB
|
233 lines
*******************************************************************************
BECAUSE THE INSTALLATION OF THE COMPONENTS ON THIS CD IS SEQUENCE SENSITIVE
IT IS HIGHLY RECOMMENDED THAT YOU PRINT, READ AND REFER TO THIS READ.ME FILE
WHILE CONDUCTING THE INSTALLATION
*******************************************************************************
Welcome to the installation of the Visual Realty Application.
This application comes in two flavors:
- the application sample:
this is the sample application as described in the book.
Only the property subsystem is implemented
- the full application:
all the subsystems are implemented in this application
(property, buyer, sale and service subsystems).
To install and run the application you must proceed in the following order:
1. Install DB2/2
2. Install VisualAge for C++ for OS/2 (if you don't have it)
3. Install the Visual Realty Application (full or book versions, or both)
4. Install the sample database to run the Visual Realty Application
<<<<< After the installation of each component you MUST reboot your machine >>>>
To start the installation of each product:
1. Open an OS/2 session (window or fullscreen)
2. At the command prompt change to your CD-ROM drive
3. type INSTALL and validate with the ENTER key
A main panel is displayed. From this main panel, you can install each
product in the order mentioned above.
===============================================================================
1. Installing DB2/2
===============================================================================
To install DB2/V2 on your system, select the product from the main panel
and push the Install push-button. You are guided to select the products
you want to install and the disk the products are going to be installed on.
To run the Visual Realty application you need at least to select the
IBM DB2 for OS/2 - Single-User product.
Once DB2/2 is installed on your system, you must reboot your system to activate
the changes in your CONFIG.SYS.
===============================================================================
2. Installing VisualAge for C++
===============================================================================
To install VisualAge C++ on your system, select the product from the main panel
and push the Install push-button. You are guided to select the components
you want to install and the disk the components are going to be installed on.
To run the Visual Realty application and build the sample as described in
the book, you need to install the following components:
- Compiler and Runtime Libraries
- WorkFrame
- Class Browser
- Visual Builder
- Data Access Builder
- IBM Open Class Libraries
- Standard Class Libraries
- Warp Toolkit Development Tools
- Warp Toolkit Headers & Libraries
84 MB of free-space on your disk are necessary to install the above components,
190 MB, if you want to install all the components.
Even if your system is running OS/2 2.1, you do need to install the Warp Toolkit
components.
The VisualAge for C++ installation is a two steps process: YOU NEED TO REBOOT
YOUR SYSTEM AFTER THE FIRST STEP TO COMPLETE THE INSTALLATION.
The trial version of VisualAge for C++ contains already the necessary CSDs
to run the Visual Realty Application with DB2/2 V2.0.1. One more step
is necessary to activate the CSDs (see WARNING below).
If you already had VisualAge for C++ installed on your machine, you must
ensure that you have the following CSDs installed:
- CTV303 or above (Visual Builder)
- CTW301 or above (WorkFrame/2)
You can download those CSDs from different sites. Refer to the book
for the VisualAge for C++ Support.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: Once VisualAge for C++ is installed and the second step of the
installation is completed, YOU MUST EXECUTE THE FOLLOWING FILES, LOCATED ON
YOUR CDROM (LET'S SAY G:), IN THIS ORDER:
G:\VACPP\IBMCPP\BIN\CTV302A.EXE
G:\VACPP\IBMCPP\BIN\CTV302AI.CMD
G:\VACPP\IBMCPP\BIN\CTV303A.EXE
Also, you must change the Resource Compiler
options in the default VACPP project (in X:\IBMCPP\MAINPRJ, where X: is the drive
where VisualAge for C++ has been installed) so
that it will apply to all your projects that inherit from it.
The default Resource Compiler options are currently set to
"%q%n.RES". You need to change it to ".\%n.RES" so that the
correct make file will be generated by MakeMake. Follow these
steps to accomplish this:
1) Through the Drives folders, find your VACPP project in
the \IBMCPP\MAINPRJ\VACPP subdirectory. Open the project.
2) Go to the Tools Setup window of the default project.
2) Expand the Compile action.
3) Right mouse click on the Resource Compiler icon.
and select the "File Options->Change" menu selection
5) In the Parameters field, change "%q" to ".\"
Read READ.CTV and READ.CTW located on your CDROM for more information.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
===============================================================================
3. Installing the Visual Realty Application
===============================================================================
To install the Visual Realty Application on your system, select the application
from the main installation panel and push the Install push-button.
A Visual Realty folder will be installled on your desktop. This folder contains:
- the full application ready to run
- the WorkFrame project of the sample application as described in the book
- the WorkFrame project of the full application
- the WorkFrame project of the sample application as described in the book
- this READ.ME file.
Only the source of the FULL application is provided and can be built. To build
the BOOK project you must regenerate the source files using the Visual Builder.
Ensure the database is installed before you attempt to build the project.
WARNING: Because building the project involves binding to the database,
the database MUST be started before you start the build process. Do so
by typing: STARTDBM at the command prompt on any OS/2 window, use a userid
and password with the ADMINISTRATION authority (usually userid USERID and
and password PASSWORD are predefined) for the user id and password when prompted.
You can rebuild the whole project by selecting Build -> Rebuild All from the
Project menubar option of the Visual Realty Full project.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: When you rebuild your Visual Realty project, the compiler may insert
a trailing message in you resource files (.RC?) indicating the number of
remaining days to use the Trial version. To avoid errors when the
resource compiler is invoked on such a file, you must remove the message
with your favorite editor and select: Project ->Make from the
Project menubar option of the Visual Realty Full project, to remake the project.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
The Visual Realty Full project organization is described as follow:
Visual Realty Full Project
|
|----Help Project
|
|----Property Project
|
|----Buyer Project
|
|----Sale Project
|
|----Service Project
|
|----Common Project
|----Dacslib Project
The directory structure is mapped to the following organization:
Drive:\Directory of Visual Realty
|
|----HELP
|----PROPERTY
|----BUYER
|----SALE
|----SERVICE
|----COMMON
|----DACSLIB
The installation of the Visual Realty prompts you for updating your CONFIG.SYS
for the proper access to the DLL and HLP files.
===============================================================================
4. Installing the Visual Realty Database
===============================================================================
To install the Visual Realty Database on your system, select the
Visual Realty Application database sample from the main installation panel
and push the Install push-button.
On the next panel select the destination drive for the database and press
the Install button.
If Database Manager is not started, the programs starts it automatically and
prompt you to enter a userid and password with the administration authority.
You MUST be logged on with an ADMINISTRATION AUTHORITY password to create
the database. Usually, userid USERID and password PASSWORD are already
predefined with such an autorithy.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
NOTE:
1. On the last step of the database installation, "Binding application
to the database", you may experience blanking of the installation screen
this only occurs on some video drivers and does not in any way interfere
with the operation being performed. Sizing the window will force a repaint
of the window. Wait until the completion message box appears before
selecting "Exit". Depending on you machine's speed this could be a few minutes
from the time "binding" starts.
2. For those who run DB2 1.2, you must rebuild the Visual Realty Project
to regenerate the bind files since the bind files provided in the CDROM
have been built with DB2 V2 and are not compatible with DB2 1.2.
You rebuild the whole project by selecting Project->Rebuild All from the
toolbar menu of the Visual Realty Full Project.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Have Fun!